package com.daiyang.lottery.service;

import com.daiyang.lottery.controller.param.CreateActivityParam;
import com.daiyang.lottery.controller.param.PageListParam;
import com.daiyang.lottery.service.dto.ActivityDTO;
import com.daiyang.lottery.service.dto.ActivityDetailDTO;
import com.daiyang.lottery.service.dto.CreateActivityDTO;
import com.daiyang.lottery.service.dto.PageListDTO;
import org.springframework.stereotype.Service;

@Service
public interface ActivityService {
   CreateActivityDTO createActivity(CreateActivityParam param);

    PageListDTO<ActivityDTO> findActivityList(PageListParam param);

    ActivityDetailDTO getActivityDetail(Long activityId);

    public void cacheActivity(Long activityId);
}
